#include <iostream>
#include <string> 
using namespace std;

string s[12] = {"FZU","FNU","FZU","FZU","FAFU","HQU","MJU","XMUT","QNU","JMU","FZU"};

int main(){
	int n;
	
	cin >> n;
	
	cout << s[n-1];
	
}
